package com.black.platform.position.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.black.platform.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 用户岗位关系实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("user_position")
public class UserPosition extends BaseEntity {
    /**
     * 用户ID
     **/
    @TableField("user_id")
    private Long userId;
    /**
     * 岗位ID
     **/
    @TableField("position_id")
    private Long positionId;

    private int orders;
}
